\(\int \sqrt [3]{a+b \tan (c+d x)} \, dx\) [691]

   Optimal result
   Rubi [A] (verified)
   Mathematica [C] (verified)
   Maple [C] (verified)
   Fricas [A] (verification not implemented)
   Sympy [F]
   Maxima [F]
   Giac [F]
   Mupad [B] (verification not implemented)

Optimal result

Integrand size = 14, antiderivative size = 415 \[ \int \sqrt [3]{a+b \tan (c+d x)} \, dx=-\frac {1}{4} \sqrt [3]{a-\sqrt {-b^2}} x-\frac {1}{4} \sqrt [3]{a+\sqrt {-b^2}} x+\frac {\sqrt {3} b \sqrt [3]{a-\sqrt {-b^2}} \arctan \left (\frac {1+\frac {2 \sqrt [3]{a+b \tan (c+d x)}}{\sqrt [3]{a-\sqrt {-b^2}}}}{\sqrt {3}}\right )}{2 \sqrt {-b^2} d}-\frac {\sqrt {3} b \sqrt [3]{a+\sqrt {-b^2}} \arctan \left (\frac {1+\frac {2 \sqrt [3]{a+b \tan (c+d x)}}{\sqrt [3]{a+\sqrt {-b^2}}}}{\sqrt {3}}\right )}{2 \sqrt {-b^2} d}-\frac {b \sqrt [3]{a-\sqrt {-b^2}} \log (\cos (c+d x))}{4 \sqrt {-b^2} d}+\frac {b \sqrt [3]{a+\sqrt {-b^2}} \log (\cos (c+d x))}{4 \sqrt {-b^2} d}-\frac {3 b \sqrt [3]{a-\sqrt {-b^2}} \log \left (\sqrt [3]{a-\sqrt {-b^2}}-\sqrt [3]{a+b \tan (c+d x)}\right )}{4 \sqrt {-b^2} d}+\frac {3 b \sqrt [3]{a+\sqrt {-b^2}} \log \left (\sqrt [3]{a+\sqrt {-b^2}}-\sqrt [3]{a+b \tan (c+d x)}\right )}{4 \sqrt {-b^2} d} \]

[Out]

-1/4*x*(a-(-b^2)^(1/2))^(1/3)-1/4*b*ln(cos(d*x+c))*(a-(-b^2)^(1/2))^(1/3)/d/(-b^2)^(1/2)-3/4*b*ln((a-(-b^2)^(1
/2))^(1/3)-(a+b*tan(d*x+c))^(1/3))*(a-(-b^2)^(1/2))^(1/3)/d/(-b^2)^(1/2)+1/2*b*arctan(1/3*(1+2*(a+b*tan(d*x+c)
)^(1/3)/(a-(-b^2)^(1/2))^(1/3))*3^(1/2))*3^(1/2)*(a-(-b^2)^(1/2))^(1/3)/d/(-b^2)^(1/2)-1/4*x*(a+(-b^2)^(1/2))^
(1/3)+1/4*b*ln(cos(d*x+c))*(a+(-b^2)^(1/2))^(1/3)/d/(-b^2)^(1/2)+3/4*b*ln((a+(-b^2)^(1/2))^(1/3)-(a+b*tan(d*x+
c))^(1/3))*(a+(-b^2)^(1/2))^(1/3)/d/(-b^2)^(1/2)-1/2*b*arctan(1/3*(1+2*(a+b*tan(d*x+c))^(1/3)/(a+(-b^2)^(1/2))
^(1/3))*3^(1/2))*3^(1/2)*(a+(-b^2)^(1/2))^(1/3)/d/(-b^2)^(1/2)

Rubi [A] (verified)

Time = 0.45 (sec) , antiderivative size = 415, normalized size of antiderivative = 1.00, number of steps used = 13, number of rules used = 7, \(\frac {\text {number of rules}}{\text {integrand size}}\) = 0.500, Rules used = {3566, 726, 52, 59, 631, 210, 31} \[ \int \sqrt [3]{a+b \tan (c+d x)} \, dx=\frac {\sqrt {3} b \sqrt [3]{a-\sqrt {-b^2}} \arctan \left (\frac {\frac {2 \sqrt [3]{a+b \tan (c+d x)}}{\sqrt [3]{a-\sqrt {-b^2}}}+1}{\sqrt {3}}\right )}{2 \sqrt {-b^2} d}-\frac {\sqrt {3} b \sqrt [3]{a+\sqrt {-b^2}} \arctan \left (\frac {\frac {2 \sqrt [3]{a+b \tan (c+d x)}}{\sqrt [3]{a+\sqrt {-b^2}}}+1}{\sqrt {3}}\right )}{2 \sqrt {-b^2} d}-\frac {3 b \sqrt [3]{a-\sqrt {-b^2}} \log \left (\sqrt [3]{a-\sqrt {-b^2}}-\sqrt [3]{a+b \tan (c+d x)}\right )}{4 \sqrt {-b^2} d}+\frac {3 b \sqrt [3]{a+\sqrt {-b^2}} \log \left (\sqrt [3]{a+\sqrt {-b^2}}-\sqrt [3]{a+b \tan (c+d x)}\right )}{4 \sqrt {-b^2} d}-\frac {b \sqrt [3]{a-\sqrt {-b^2}} \log (\cos (c+d x))}{4 \sqrt {-b^2} d}+\frac {b \sqrt [3]{a+\sqrt {-b^2}} \log (\cos (c+d x))}{4 \sqrt {-b^2} d}-\frac {1}{4} x \sqrt [3]{a-\sqrt {-b^2}}-\frac {1}{4} x \sqrt [3]{a+\sqrt {-b^2}} \]

[In]

Int[(a + b*Tan[c + d*x])^(1/3),x]

[Out]

-1/4*((a - Sqrt[-b^2])^(1/3)*x) - ((a + Sqrt[-b^2])^(1/3)*x)/4 + (Sqrt[3]*b*(a - Sqrt[-b^2])^(1/3)*ArcTan[(1 +
 (2*(a + b*Tan[c + d*x])^(1/3))/(a - Sqrt[-b^2])^(1/3))/Sqrt[3]])/(2*Sqrt[-b^2]*d) - (Sqrt[3]*b*(a + Sqrt[-b^2
])^(1/3)*ArcTan[(1 + (2*(a + b*Tan[c + d*x])^(1/3))/(a + Sqrt[-b^2])^(1/3))/Sqrt[3]])/(2*Sqrt[-b^2]*d) - (b*(a
 - Sqrt[-b^2])^(1/3)*Log[Cos[c + d*x]])/(4*Sqrt[-b^2]*d) + (b*(a + Sqrt[-b^2])^(1/3)*Log[Cos[c + d*x]])/(4*Sqr
t[-b^2]*d) - (3*b*(a - Sqrt[-b^2])^(1/3)*Log[(a - Sqrt[-b^2])^(1/3) - (a + b*Tan[c + d*x])^(1/3)])/(4*Sqrt[-b^
2]*d) + (3*b*(a + Sqrt[-b^2])^(1/3)*Log[(a + Sqrt[-b^2])^(1/3) - (a + b*Tan[c + d*x])^(1/3)])/(4*Sqrt[-b^2]*d)

Rule 31

Int[((a_) + (b_.)*(x_))^(-1), x_Symbol] :> Simp[Log[RemoveContent[a + b*x, x]]/b, x] /; FreeQ[{a, b}, x]

Rule 52

Int[((a_.) + (b_.)*(x_))^(m_)*((c_.) + (d_.)*(x_))^(n_), x_Symbol] :> Simp[(a + b*x)^(m + 1)*((c + d*x)^n/(b*(
m + n + 1))), x] + Dist[n*((b*c - a*d)/(b*(m + n + 1))), Int[(a + b*x)^m*(c + d*x)^(n - 1), x], x] /; FreeQ[{a
, b, c, d}, x] && NeQ[b*c - a*d, 0] && GtQ[n, 0] && NeQ[m + n + 1, 0] &&  !(IGtQ[m, 0] && ( !IntegerQ[n] || (G
tQ[m, 0] && LtQ[m - n, 0]))) &&  !ILtQ[m + n + 2, 0] && IntLinearQ[a, b, c, d, m, n, x]

Rule 59

Int[1/(((a_.) + (b_.)*(x_))*((c_.) + (d_.)*(x_))^(2/3)), x_Symbol] :> With[{q = Rt[(b*c - a*d)/b, 3]}, Simp[-L
og[RemoveContent[a + b*x, x]]/(2*b*q^2), x] + (-Dist[3/(2*b*q), Subst[Int[1/(q^2 + q*x + x^2), x], x, (c + d*x
)^(1/3)], x] - Dist[3/(2*b*q^2), Subst[Int[1/(q - x), x], x, (c + d*x)^(1/3)], x])] /; FreeQ[{a, b, c, d}, x]
&& PosQ[(b*c - a*d)/b]

Rule 210

Int[((a_) + (b_.)*(x_)^2)^(-1), x_Symbol] :> Simp[(-(Rt[-a, 2]*Rt[-b, 2])^(-1))*ArcTan[Rt[-b, 2]*(x/Rt[-a, 2])
], x] /; FreeQ[{a, b}, x] && PosQ[a/b] && (LtQ[a, 0] || LtQ[b, 0])

Rule 631

Int[((a_) + (b_.)*(x_) + (c_.)*(x_)^2)^(-1), x_Symbol] :> With[{q = 1 - 4*Simplify[a*(c/b^2)]}, Dist[-2/b, Sub
st[Int[1/(q - x^2), x], x, 1 + 2*c*(x/b)], x] /; RationalQ[q] && (EqQ[q^2, 1] ||  !RationalQ[b^2 - 4*a*c])] /;
 FreeQ[{a, b, c}, x] && NeQ[b^2 - 4*a*c, 0]

Rule 726

Int[((d_) + (e_.)*(x_))^(m_)/((a_) + (c_.)*(x_)^2), x_Symbol] :> Int[ExpandIntegrand[(d + e*x)^m, 1/(a + c*x^2
), x], x] /; FreeQ[{a, c, d, e, m}, x] && NeQ[c*d^2 + a*e^2, 0] &&  !IntegerQ[m]

Rule 3566

Int[((a_) + (b_.)*tan[(c_.) + (d_.)*(x_)])^(n_), x_Symbol] :> Dist[b/d, Subst[Int[(a + x)^n/(b^2 + x^2), x], x
, b*Tan[c + d*x]], x] /; FreeQ[{a, b, c, d, n}, x] && NeQ[a^2 + b^2, 0]

Rubi steps \begin{align*} \text {integral}& = \frac {b \text {Subst}\left (\int \frac {\sqrt [3]{a+x}}{b^2+x^2} \, dx,x,b \tan (c+d x)\right )}{d} \\ & = \frac {b \text {Subst}\left (\int \left (\frac {\sqrt {-b^2} \sqrt [3]{a+x}}{2 b^2 \left (\sqrt {-b^2}-x\right )}+\frac {\sqrt {-b^2} \sqrt [3]{a+x}}{2 b^2 \left (\sqrt {-b^2}+x\right )}\right ) \, dx,x,b \tan (c+d x)\right )}{d} \\ & = -\frac {b \text {Subst}\left (\int \frac {\sqrt [3]{a+x}}{\sqrt {-b^2}-x} \, dx,x,b \tan (c+d x)\right )}{2 \sqrt {-b^2} d}-\frac {b \text {Subst}\left (\int \frac {\sqrt [3]{a+x}}{\sqrt {-b^2}+x} \, dx,x,b \tan (c+d x)\right )}{2 \sqrt {-b^2} d} \\ & = -\frac {\left (b \left (a+\sqrt {-b^2}\right )\right ) \text {Subst}\left (\int \frac {1}{\left (\sqrt {-b^2}-x\right ) (a+x)^{2/3}} \, dx,x,b \tan (c+d x)\right )}{2 \sqrt {-b^2} d}+\frac {\left (b^2+a \sqrt {-b^2}\right ) \text {Subst}\left (\int \frac {1}{(a+x)^{2/3} \left (\sqrt {-b^2}+x\right )} \, dx,x,b \tan (c+d x)\right )}{2 b d} \\ & = -\frac {1}{4} \sqrt [3]{a-\sqrt {-b^2}} x-\frac {1}{4} \sqrt [3]{a+\sqrt {-b^2}} x+\frac {\sqrt {-b^2} \sqrt [3]{a-\sqrt {-b^2}} \log (\cos (c+d x))}{4 b d}+\frac {b \sqrt [3]{a+\sqrt {-b^2}} \log (\cos (c+d x))}{4 \sqrt {-b^2} d}-\frac {\left (3 b \sqrt [3]{a+\sqrt {-b^2}}\right ) \text {Subst}\left (\int \frac {1}{\sqrt [3]{a+\sqrt {-b^2}}-x} \, dx,x,\sqrt [3]{a+b \tan (c+d x)}\right )}{4 \sqrt {-b^2} d}-\frac {\left (3 b \left (a+\sqrt {-b^2}\right )^{2/3}\right ) \text {Subst}\left (\int \frac {1}{\left (a+\sqrt {-b^2}\right )^{2/3}+\sqrt [3]{a+\sqrt {-b^2}} x+x^2} \, dx,x,\sqrt [3]{a+b \tan (c+d x)}\right )}{4 \sqrt {-b^2} d}-\frac {\left (3 \left (b^2+a \sqrt {-b^2}\right )\right ) \text {Subst}\left (\int \frac {1}{\sqrt [3]{a-\sqrt {-b^2}}-x} \, dx,x,\sqrt [3]{a+b \tan (c+d x)}\right )}{4 b \left (a-\sqrt {-b^2}\right )^{2/3} d}-\frac {\left (3 \left (b^2+a \sqrt {-b^2}\right )\right ) \text {Subst}\left (\int \frac {1}{\left (a-\sqrt {-b^2}\right )^{2/3}+\sqrt [3]{a-\sqrt {-b^2}} x+x^2} \, dx,x,\sqrt [3]{a+b \tan (c+d x)}\right )}{4 b \sqrt [3]{a-\sqrt {-b^2}} d} \\ & = -\frac {1}{4} \sqrt [3]{a-\sqrt {-b^2}} x-\frac {1}{4} \sqrt [3]{a+\sqrt {-b^2}} x+\frac {\sqrt {-b^2} \sqrt [3]{a-\sqrt {-b^2}} \log (\cos (c+d x))}{4 b d}+\frac {b \sqrt [3]{a+\sqrt {-b^2}} \log (\cos (c+d x))}{4 \sqrt {-b^2} d}+\frac {3 \sqrt {-b^2} \sqrt [3]{a-\sqrt {-b^2}} \log \left (\sqrt [3]{a-\sqrt {-b^2}}-\sqrt [3]{a+b \tan (c+d x)}\right )}{4 b d}+\frac {3 b \sqrt [3]{a+\sqrt {-b^2}} \log \left (\sqrt [3]{a+\sqrt {-b^2}}-\sqrt [3]{a+b \tan (c+d x)}\right )}{4 \sqrt {-b^2} d}+\frac {\left (3 b \sqrt [3]{a+\sqrt {-b^2}}\right ) \text {Subst}\left (\int \frac {1}{-3-x^2} \, dx,x,1+\frac {2 \sqrt [3]{a+b \tan (c+d x)}}{\sqrt [3]{a+\sqrt {-b^2}}}\right )}{2 \sqrt {-b^2} d}+\frac {\left (3 \left (b^2+a \sqrt {-b^2}\right )\right ) \text {Subst}\left (\int \frac {1}{-3-x^2} \, dx,x,1+\frac {2 \sqrt [3]{a+b \tan (c+d x)}}{\sqrt [3]{a-\sqrt {-b^2}}}\right )}{2 b \left (a-\sqrt {-b^2}\right )^{2/3} d} \\ & = -\frac {1}{4} \sqrt [3]{a-\sqrt {-b^2}} x-\frac {1}{4} \sqrt [3]{a+\sqrt {-b^2}} x-\frac {\sqrt {3} \sqrt {-b^2} \sqrt [3]{a-\sqrt {-b^2}} \arctan \left (\frac {1+\frac {2 \sqrt [3]{a+b \tan (c+d x)}}{\sqrt [3]{a-\sqrt {-b^2}}}}{\sqrt {3}}\right )}{2 b d}-\frac {\sqrt {3} b \sqrt [3]{a+\sqrt {-b^2}} \arctan \left (\frac {1+\frac {2 \sqrt [3]{a+b \tan (c+d x)}}{\sqrt [3]{a+\sqrt {-b^2}}}}{\sqrt {3}}\right )}{2 \sqrt {-b^2} d}+\frac {\sqrt {-b^2} \sqrt [3]{a-\sqrt {-b^2}} \log (\cos (c+d x))}{4 b d}+\frac {b \sqrt [3]{a+\sqrt {-b^2}} \log (\cos (c+d x))}{4 \sqrt {-b^2} d}+\frac {3 \sqrt {-b^2} \sqrt [3]{a-\sqrt {-b^2}} \log \left (\sqrt [3]{a-\sqrt {-b^2}}-\sqrt [3]{a+b \tan (c+d x)}\right )}{4 b d}+\frac {3 b \sqrt [3]{a+\sqrt {-b^2}} \log \left (\sqrt [3]{a+\sqrt {-b^2}}-\sqrt [3]{a+b \tan (c+d x)}\right )}{4 \sqrt {-b^2} d} \\ \end{align*}

Mathematica [C] (verified)

Result contains complex when optimal does not.

Time = 0.25 (sec) , antiderivative size = 294, normalized size of antiderivative = 0.71 \[ \int \sqrt [3]{a+b \tan (c+d x)} \, dx=\frac {-i \sqrt [3]{a-i b} \left (2 \sqrt {3} \arctan \left (\frac {1+\frac {2 \sqrt [3]{a+b \tan (c+d x)}}{\sqrt [3]{a-i b}}}{\sqrt {3}}\right )-2 \log \left (\sqrt [3]{a-i b}-\sqrt [3]{a+b \tan (c+d x)}\right )+\log \left ((a-i b)^{2/3}+\sqrt [3]{a-i b} \sqrt [3]{a+b \tan (c+d x)}+(a+b \tan (c+d x))^{2/3}\right )\right )+i \sqrt [3]{a+i b} \left (2 \sqrt {3} \arctan \left (\frac {1+\frac {2 \sqrt [3]{a+b \tan (c+d x)}}{\sqrt [3]{a+i b}}}{\sqrt {3}}\right )-2 \log \left (\sqrt [3]{a+i b}-\sqrt [3]{a+b \tan (c+d x)}\right )+\log \left ((a+i b)^{2/3}+\sqrt [3]{a+i b} \sqrt [3]{a+b \tan (c+d x)}+(a+b \tan (c+d x))^{2/3}\right )\right )}{4 d} \]

[In]

Integrate[(a + b*Tan[c + d*x])^(1/3),x]

[Out]

((-I)*(a - I*b)^(1/3)*(2*Sqrt[3]*ArcTan[(1 + (2*(a + b*Tan[c + d*x])^(1/3))/(a - I*b)^(1/3))/Sqrt[3]] - 2*Log[
(a - I*b)^(1/3) - (a + b*Tan[c + d*x])^(1/3)] + Log[(a - I*b)^(2/3) + (a - I*b)^(1/3)*(a + b*Tan[c + d*x])^(1/
3) + (a + b*Tan[c + d*x])^(2/3)]) + I*(a + I*b)^(1/3)*(2*Sqrt[3]*ArcTan[(1 + (2*(a + b*Tan[c + d*x])^(1/3))/(a
 + I*b)^(1/3))/Sqrt[3]] - 2*Log[(a + I*b)^(1/3) - (a + b*Tan[c + d*x])^(1/3)] + Log[(a + I*b)^(2/3) + (a + I*b
)^(1/3)*(a + b*Tan[c + d*x])^(1/3) + (a + b*Tan[c + d*x])^(2/3)]))/(4*d)

Maple [C] (verified)

Result contains higher order function than in optimal. Order 9 vs. order 3.

Time = 0.76 (sec) , antiderivative size = 60, normalized size of antiderivative = 0.14

method result size
derivativedivides \(\frac {b \left (\munderset {\textit {\_R} =\operatorname {RootOf}\left (\textit {\_Z}^{6}-2 a \,\textit {\_Z}^{3}+a^{2}+b^{2}\right )}{\sum }\frac {\textit {\_R}^{3} \ln \left (\left (a +b \tan \left (d x +c \right )\right )^{\frac {1}{3}}-\textit {\_R} \right )}{\textit {\_R}^{5}-\textit {\_R}^{2} a}\right )}{2 d}\) \(60\)
default \(\frac {b \left (\munderset {\textit {\_R} =\operatorname {RootOf}\left (\textit {\_Z}^{6}-2 a \,\textit {\_Z}^{3}+a^{2}+b^{2}\right )}{\sum }\frac {\textit {\_R}^{3} \ln \left (\left (a +b \tan \left (d x +c \right )\right )^{\frac {1}{3}}-\textit {\_R} \right )}{\textit {\_R}^{5}-\textit {\_R}^{2} a}\right )}{2 d}\) \(60\)

[In]

int((a+b*tan(d*x+c))^(1/3),x,method=_RETURNVERBOSE)

[Out]

1/2/d*b*sum(_R^3/(_R^5-_R^2*a)*ln((a+b*tan(d*x+c))^(1/3)-_R),_R=RootOf(_Z^6-2*_Z^3*a+a^2+b^2))

Fricas [A] (verification not implemented)

none

Time = 0.25 (sec) , antiderivative size = 536, normalized size of antiderivative = 1.29 \[ \int \sqrt [3]{a+b \tan (c+d x)} \, dx=-\frac {1}{4} \, {\left (\sqrt {-3} + 1\right )} \left (-\frac {d^{3} \sqrt {-\frac {a^{2}}{d^{6}}} + b}{d^{3}}\right )^{\frac {1}{3}} \log \left (-\frac {1}{2} \, {\left (\sqrt {-3} d^{4} + d^{4}\right )} \left (-\frac {d^{3} \sqrt {-\frac {a^{2}}{d^{6}}} + b}{d^{3}}\right )^{\frac {1}{3}} \sqrt {-\frac {a^{2}}{d^{6}}} + {\left (b \tan \left (d x + c\right ) + a\right )}^{\frac {1}{3}} a\right ) + \frac {1}{4} \, {\left (\sqrt {-3} - 1\right )} \left (-\frac {d^{3} \sqrt {-\frac {a^{2}}{d^{6}}} + b}{d^{3}}\right )^{\frac {1}{3}} \log \left (\frac {1}{2} \, {\left (\sqrt {-3} d^{4} - d^{4}\right )} \left (-\frac {d^{3} \sqrt {-\frac {a^{2}}{d^{6}}} + b}{d^{3}}\right )^{\frac {1}{3}} \sqrt {-\frac {a^{2}}{d^{6}}} + {\left (b \tan \left (d x + c\right ) + a\right )}^{\frac {1}{3}} a\right ) - \frac {1}{4} \, {\left (\sqrt {-3} + 1\right )} \left (\frac {d^{3} \sqrt {-\frac {a^{2}}{d^{6}}} - b}{d^{3}}\right )^{\frac {1}{3}} \log \left (\frac {1}{2} \, {\left (\sqrt {-3} d^{4} + d^{4}\right )} \left (\frac {d^{3} \sqrt {-\frac {a^{2}}{d^{6}}} - b}{d^{3}}\right )^{\frac {1}{3}} \sqrt {-\frac {a^{2}}{d^{6}}} + {\left (b \tan \left (d x + c\right ) + a\right )}^{\frac {1}{3}} a\right ) + \frac {1}{4} \, {\left (\sqrt {-3} - 1\right )} \left (\frac {d^{3} \sqrt {-\frac {a^{2}}{d^{6}}} - b}{d^{3}}\right )^{\frac {1}{3}} \log \left (-\frac {1}{2} \, {\left (\sqrt {-3} d^{4} - d^{4}\right )} \left (\frac {d^{3} \sqrt {-\frac {a^{2}}{d^{6}}} - b}{d^{3}}\right )^{\frac {1}{3}} \sqrt {-\frac {a^{2}}{d^{6}}} + {\left (b \tan \left (d x + c\right ) + a\right )}^{\frac {1}{3}} a\right ) + \frac {1}{2} \, \left (-\frac {d^{3} \sqrt {-\frac {a^{2}}{d^{6}}} + b}{d^{3}}\right )^{\frac {1}{3}} \log \left (d^{4} \left (-\frac {d^{3} \sqrt {-\frac {a^{2}}{d^{6}}} + b}{d^{3}}\right )^{\frac {1}{3}} \sqrt {-\frac {a^{2}}{d^{6}}} + {\left (b \tan \left (d x + c\right ) + a\right )}^{\frac {1}{3}} a\right ) + \frac {1}{2} \, \left (\frac {d^{3} \sqrt {-\frac {a^{2}}{d^{6}}} - b}{d^{3}}\right )^{\frac {1}{3}} \log \left (-d^{4} \left (\frac {d^{3} \sqrt {-\frac {a^{2}}{d^{6}}} - b}{d^{3}}\right )^{\frac {1}{3}} \sqrt {-\frac {a^{2}}{d^{6}}} + {\left (b \tan \left (d x + c\right ) + a\right )}^{\frac {1}{3}} a\right ) \]

[In]

integrate((a+b*tan(d*x+c))^(1/3),x, algorithm="fricas")

[Out]

-1/4*(sqrt(-3) + 1)*(-(d^3*sqrt(-a^2/d^6) + b)/d^3)^(1/3)*log(-1/2*(sqrt(-3)*d^4 + d^4)*(-(d^3*sqrt(-a^2/d^6)
+ b)/d^3)^(1/3)*sqrt(-a^2/d^6) + (b*tan(d*x + c) + a)^(1/3)*a) + 1/4*(sqrt(-3) - 1)*(-(d^3*sqrt(-a^2/d^6) + b)
/d^3)^(1/3)*log(1/2*(sqrt(-3)*d^4 - d^4)*(-(d^3*sqrt(-a^2/d^6) + b)/d^3)^(1/3)*sqrt(-a^2/d^6) + (b*tan(d*x + c
) + a)^(1/3)*a) - 1/4*(sqrt(-3) + 1)*((d^3*sqrt(-a^2/d^6) - b)/d^3)^(1/3)*log(1/2*(sqrt(-3)*d^4 + d^4)*((d^3*s
qrt(-a^2/d^6) - b)/d^3)^(1/3)*sqrt(-a^2/d^6) + (b*tan(d*x + c) + a)^(1/3)*a) + 1/4*(sqrt(-3) - 1)*((d^3*sqrt(-
a^2/d^6) - b)/d^3)^(1/3)*log(-1/2*(sqrt(-3)*d^4 - d^4)*((d^3*sqrt(-a^2/d^6) - b)/d^3)^(1/3)*sqrt(-a^2/d^6) + (
b*tan(d*x + c) + a)^(1/3)*a) + 1/2*(-(d^3*sqrt(-a^2/d^6) + b)/d^3)^(1/3)*log(d^4*(-(d^3*sqrt(-a^2/d^6) + b)/d^
3)^(1/3)*sqrt(-a^2/d^6) + (b*tan(d*x + c) + a)^(1/3)*a) + 1/2*((d^3*sqrt(-a^2/d^6) - b)/d^3)^(1/3)*log(-d^4*((
d^3*sqrt(-a^2/d^6) - b)/d^3)^(1/3)*sqrt(-a^2/d^6) + (b*tan(d*x + c) + a)^(1/3)*a)

Sympy [F]

\[ \int \sqrt [3]{a+b \tan (c+d x)} \, dx=\int \sqrt [3]{a + b \tan {\left (c + d x \right )}}\, dx \]

[In]

integrate((a+b*tan(d*x+c))**(1/3),x)

[Out]

Integral((a + b*tan(c + d*x))**(1/3), x)

Maxima [F]

\[ \int \sqrt [3]{a+b \tan (c+d x)} \, dx=\int { {\left (b \tan \left (d x + c\right ) + a\right )}^{\frac {1}{3}} \,d x } \]

[In]

integrate((a+b*tan(d*x+c))^(1/3),x, algorithm="maxima")

[Out]

integrate((b*tan(d*x + c) + a)^(1/3), x)

Giac [F]

\[ \int \sqrt [3]{a+b \tan (c+d x)} \, dx=\int { {\left (b \tan \left (d x + c\right ) + a\right )}^{\frac {1}{3}} \,d x } \]

[In]

integrate((a+b*tan(d*x+c))^(1/3),x, algorithm="giac")

[Out]

undef

Mupad [B] (verification not implemented)

Time = 7.96 (sec) , antiderivative size = 863, normalized size of antiderivative = 2.08 \[ \int \sqrt [3]{a+b \tan (c+d x)} \, dx=\text {Too large to display} \]

[In]

int((a + b*tan(c + d*x))^(1/3),x)

[Out]

log((a + b*tan(c + d*x))^(1/3) + d*(-(a*1i + b)/d^3)^(1/3)*1i)*(-(a*1i + b)/(8*d^3))^(1/3) + log(b*(a + b*tan(
c + d*x))^(1/3)*1i - a*(a + b*tan(c + d*x))^(1/3) + d^4*((a*1i - b)/d^3)^(4/3) + 2*b*d*((a*1i - b)/d^3)^(1/3))
*((a*1i - b)/(8*d^3))^(1/3) - log((486*(b^8 - a^4*b^4)*(a + b*tan(c + d*x))^(1/3))/d^4 - (((((3^(1/2)*1i)/2 -
1/2)*(-(a*1i + b)/d^3)^(2/3)*((3888*b^5*(a^2 + b^2)*(a + b*tan(c + d*x))^(1/3))/d - 3888*a*b^4*((3^(1/2)*1i)/2
 + 1/2)*(-(a*1i + b)/d^3)^(1/3)*(a^2 + b^2)))/4 + (1944*a*b^5*(a^2 + b^2))/d^3)*((3^(1/2)*1i)/2 + 1/2)*(-(a*1i
 + b)/d^3)^(1/3))/2)*((3^(1/2)*1i)/2 + 1/2)*(-(a*1i + b)/(8*d^3))^(1/3) + log((486*(b^8 - a^4*b^4)*(a + b*tan(
c + d*x))^(1/3))/d^4 - (((((3^(1/2)*1i)/2 + 1/2)*(-(a*1i + b)/d^3)^(2/3)*((3888*b^5*(a^2 + b^2)*(a + b*tan(c +
 d*x))^(1/3))/d + 3888*a*b^4*((3^(1/2)*1i)/2 - 1/2)*(-(a*1i + b)/d^3)^(1/3)*(a^2 + b^2)))/4 - (1944*a*b^5*(a^2
 + b^2))/d^3)*((3^(1/2)*1i)/2 - 1/2)*(-(a*1i + b)/d^3)^(1/3))/2)*((3^(1/2)*1i)/2 - 1/2)*(-(a*1i + b)/(8*d^3))^
(1/3) - log((((a*1i - b)/d^3)^(1/3)*((3^(1/2)*1i)/2 + 1/2)*((((a*1i - b)/d^3)^(2/3)*((3^(1/2)*1i)/2 - 1/2)*((3
888*b^5*(a^2 + b^2)*(a + b*tan(c + d*x))^(1/3))/d - 3888*a*b^4*((a*1i - b)/d^3)^(1/3)*((3^(1/2)*1i)/2 + 1/2)*(
a^2 + b^2)))/4 + (1944*a*b^5*(a^2 + b^2))/d^3))/2 - (486*(b^8 - a^4*b^4)*(a + b*tan(c + d*x))^(1/3))/d^4)*((3^
(1/2)*1i)/2 + 1/2)*((a*1i - b)/(8*d^3))^(1/3) + log((486*(b^8 - a^4*b^4)*(a + b*tan(c + d*x))^(1/3))/d^4 - (((
a*1i - b)/d^3)^(1/3)*((3^(1/2)*1i)/2 - 1/2)*((((a*1i - b)/d^3)^(2/3)*((3^(1/2)*1i)/2 + 1/2)*((3888*b^5*(a^2 +
b^2)*(a + b*tan(c + d*x))^(1/3))/d + 3888*a*b^4*((a*1i - b)/d^3)^(1/3)*((3^(1/2)*1i)/2 - 1/2)*(a^2 + b^2)))/4
- (1944*a*b^5*(a^2 + b^2))/d^3))/2)*((3^(1/2)*1i)/2 - 1/2)*((a*1i - b)/(8*d^3))^(1/3)